<template>
    <div class="backtop" @click='backTop'>
        <i style=' font-size: 40px;' class="iconfont icon-huidaodingbu"></i>
    </div>
</template>

<script>
export default {
    methods:{
        backTop(){
            // console.log( this.$emit('backTop'));
             this.$emit('backTop')
        }
    }
    
}
</script>

<style scoped lang='scss'>
    .backtop{
        position: fixed;
        right: 50px;
        // background: red;
        bottom: 700px;
       color: rgba(204, 204, 204, 0.895);
       
    }
</style>